/*
 *
 */

package commonClasses;

/**
 *
 * @author Pozytywny!
 */
public class MagicNumbers {
    //------komunikaty
    public static final long LOGIN_MSG_NR = 0;// H
    public static final long ACK_MSG_NR = 1;//  H C
    public static final long NAK_MSG_NR = 2;//  C
    public static final long LIST_MSG_NR = 3;// H
    public static final long ITEM_MSG_NR = 4;// C
    public static final long LAST_ITEM_MSG_NR = 131;//C
    public static final long QUERY_MSG_NR = 5;//    H
    public static final long QUERY_FOLLOWED_MSG_NR = 132;//C
    public static final long FILE_MSG_NR = 6;//C
    public static final long FILE_EOF_MSG_NR = 133;//C
    public static final long ENTER_MSG_NR = 7;//C
    public static final long NEW_BID_MSG_NR = 8;//H
    public static final long BROADCAST_BID_MSG_NR = 9;//C
    public static final long FINISH_MSG_NR = 10;//C

    public static final long TAP = 11;

    //--- inne
    public static final long Timeout = 1500; // piętnaście sekund
    public static final boolean SHOW_TIME = true; // pokazuje debugowe messege.
    public static final int port = 1337;
    public static final int MAGIC_NUMBER = 6;
    public static final int VERSION_NUMBER = 1;
    public static final int HASH_LENGTH = 16;
    public static final int CURRENCY_STRING_LENGTH = 3;
    public static final String CURRENCY = "PLN";



}
